
package com.be.beadmin.material.service;

import com.be.beadmin.material.entity.MaterialShortage;
import com.be.beadmin.material.dto.output.MaterialShortageEx;
import com.be.beadmin.material.dto.input.MaterialShortageDto;
import com.be.beadmin.material.dto.input.MaterialShortageQueryCriteria;
import org.springframework.data.domain.Page;
import com.be.beadmin.common.entity.PageEntity;
import org.springframework.data.domain.Pageable;
import java.util.Map;
import java.util.List;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;

/**
* @description 服务接口
* @author zmy
* @date 2023-07-17
**/
public interface MaterialShortageService {

    /**
    * 分页的查询接口
    * @param pageEntity
    * @return
    */
    Page<MaterialShortageEx> getMaterialShortageByPage(PageEntity pageEntity);

    /**
    * @param materialShortageDto
    */
    void addMaterialShortage(MaterialShortageDto materialShortageDto);

    /**
    * @param materialShortageDto
    */
    void updateMaterialShortage(MaterialShortageDto materialShortageDto);

    /**
    * @param id
    */
    void delMaterialShortage(String id);

    /**
    * 删除多个角色
    * @param ids
    */
    void delMaterialShortages (List<String> ids);

}